import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:new_yuqib_app/yqbView/WzView/controller.dart';

///文章页
class ArticleView extends StatelessWidget {
  const ArticleView({super.key});

  @override
  Widget build(BuildContext context) {
    final logic = Get.put(WzViewController());
    return Obx(() {
      return DefaultTabController(
        length: logic.typeLength.value,
        child: Scaffold(
          backgroundColor: Colors.white,
          appBar: AppBar(
            backgroundColor: Colors.white,
            surfaceTintColor: Colors.white,
            title: const Text('文章'),
            centerTitle: true,
            bottom: TabBar(tabs: []),
          ),
          body: ListView.builder(
              itemCount: 10,
              itemBuilder: (context, index) {
                return Container();
              }),
        ),
      );
    });
  }
}
